<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/AFI.Speargun.Web.Models" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/AFI.Speargun.Web.Models" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:3000/Services/Service.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" />
  <xs:import schemaLocation="http://localhost:3000/Services/Service.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="AssetEntry">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q1:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="AcquisitionDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="AcquisitionMode" nillable="true" type="tns:AcquisitionMode" />
          <xs:element minOccurs="0" name="AcquisitionModeReference" nillable="true" type="q1:EntityReferenceOfAcquisitionModeA_Ps5pNDo" />
          <xs:element minOccurs="0" name="Appellation" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AssetEntryAdditional" nillable="true" type="tns:AssetEntryAdditional" />
          <xs:element minOccurs="0" name="AssetEntryAdditionalReference" nillable="true" type="q1:EntityReferenceOfAssetEntryAdditionalA_Ps5pNDo" />
          <xs:element minOccurs="0" name="AssetEntryId" type="ser:guid" />
          <xs:element minOccurs="0" name="AssetInventory" nillable="true" type="tns:ArrayOfAssetInventory" />
          <xs:element minOccurs="0" name="Category" nillable="true" type="tns:Category" />
          <xs:element minOccurs="0" name="CategoryReference" nillable="true" type="q1:EntityReferenceOfCategoryA_Ps5pNDo" />
          <xs:element minOccurs="0" name="Currency" nillable="true" type="tns:Currency" />
          <xs:element minOccurs="0" name="CurrencyReference" nillable="true" type="q1:EntityReferenceOfCurrencyA_Ps5pNDo" />
          <xs:element minOccurs="0" name="Department" nillable="true" type="tns:Department" />
          <xs:element minOccurs="0" name="DepartmentReference" nillable="true" type="q1:EntityReferenceOfDepartmentA_Ps5pNDo" />
          <xs:element minOccurs="0" name="DepreciationFinanceId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DepreciationInsertDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DepreciationLife" type="xs:int" />
          <xs:element minOccurs="0" name="DepreciationMode" type="xs:int" />
          <xs:element minOccurs="0" name="DepreciationSalvageValueRate" type="xs:decimal" />
          <xs:element minOccurs="0" name="DepreciationStartDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="EntryCreateBy" type="ser:guid" />
          <xs:element minOccurs="0" name="EntryCreateDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="OriginalValue" type="xs:decimal" />
          <xs:element minOccurs="0" name="PurchasingAgent" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Specification" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AssetEntry" nillable="true" type="tns:AssetEntry" />
  <xs:complexType name="AcquisitionMode">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q2:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="AcquisitionModeId" type="ser:guid" />
          <xs:element minOccurs="0" name="Appellation" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AssetEntry" nillable="true" type="tns:ArrayOfAssetEntry" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AcquisitionMode" nillable="true" type="tns:AcquisitionMode" />
  <xs:complexType name="ArrayOfAssetEntry">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AssetEntry" nillable="true" type="tns:AssetEntry" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAssetEntry" nillable="true" type="tns:ArrayOfAssetEntry" />
  <xs:complexType name="AssetEntryAdditional">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q3:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="AssetEntry" nillable="true" type="tns:AssetEntry" />
          <xs:element minOccurs="0" name="AssetEntryId" type="ser:guid" />
          <xs:element minOccurs="0" name="AssetEntryReference" nillable="true" type="q3:EntityReferenceOfAssetEntryA_Ps5pNDo" />
          <xs:element minOccurs="0" name="DateTime0" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DateTime1" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DateTime2" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DateTime3" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Image0" nillable="true" type="xs:base64Binary" />
          <xs:element minOccurs="0" name="Image1" nillable="true" type="xs:base64Binary" />
          <xs:element minOccurs="0" name="LongText0" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LongText1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Numeric0" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Numeric1" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Numeric2" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Numeric3" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Numeric4" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Numeric5" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Numeric6" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Numeric7" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Numeric8" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Numeric9" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="Text0" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Text1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Text2" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Text3" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Text4" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Text5" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Text6" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Text7" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Text8" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Text9" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Xml0" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Xml1" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AssetEntryAdditional" nillable="true" type="tns:AssetEntryAdditional" />
  <xs:complexType name="ArrayOfAssetInventory">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AssetInventory" nillable="true" type="tns:AssetInventory" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAssetInventory" nillable="true" type="tns:ArrayOfAssetInventory" />
  <xs:complexType name="AssetInventory">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q4:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ActualUseDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="ActualUsePerson" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AssetEntry" nillable="true" type="tns:AssetEntry" />
          <xs:element minOccurs="0" name="AssetEntryReference" nillable="true" type="q4:EntityReferenceOfAssetEntryA_Ps5pNDo" />
          <xs:element minOccurs="0" name="AssetInventoryId" type="ser:guid" />
          <xs:element minOccurs="0" name="AssetStatus" type="xs:int" />
          <xs:element minOccurs="0" name="CheckingDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="CheckingUser" type="ser:guid" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="InventoryChecking" nillable="true" type="tns:InventoryChecking" />
          <xs:element minOccurs="0" name="InventoryCheckingReference" nillable="true" type="q4:EntityReferenceOfInventoryCheckingA_Ps5pNDo" />
          <xs:element minOccurs="0" name="Quantity" type="xs:decimal" />
          <xs:element minOccurs="0" name="ResponsiblePerson" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Result" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AssetInventory" nillable="true" type="tns:AssetInventory" />
  <xs:complexType name="InventoryChecking">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q5:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="AssetInventory" nillable="true" type="tns:ArrayOfAssetInventory" />
          <xs:element minOccurs="0" name="CreateBy" type="ser:guid" />
          <xs:element minOccurs="0" name="CreateDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Department" nillable="true" type="tns:Department" />
          <xs:element minOccurs="0" name="DepartmentReference" nillable="true" type="q5:EntityReferenceOfDepartmentA_Ps5pNDo" />
          <xs:element minOccurs="0" name="InventoryCheckingId" type="ser:guid" />
          <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Status" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="InventoryChecking" nillable="true" type="tns:InventoryChecking" />
  <xs:complexType name="Department">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q6="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q6:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Appellation" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AssetEntry" nillable="true" type="tns:ArrayOfAssetEntry" />
          <xs:element minOccurs="0" name="Children" nillable="true" type="tns:ArrayOfDepartment" />
          <xs:element minOccurs="0" name="DepartmentId" type="ser:guid" />
          <xs:element minOccurs="0" name="InventoryChecking" nillable="true" type="tns:ArrayOfInventoryChecking" />
          <xs:element minOccurs="0" name="Parent" nillable="true" type="tns:Department" />
          <xs:element minOccurs="0" name="ParentReference" nillable="true" type="q6:EntityReferenceOfDepartmentA_Ps5pNDo" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Department" nillable="true" type="tns:Department" />
  <xs:complexType name="ArrayOfDepartment">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Department" nillable="true" type="tns:Department" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDepartment" nillable="true" type="tns:ArrayOfDepartment" />
  <xs:complexType name="ArrayOfInventoryChecking">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="InventoryChecking" nillable="true" type="tns:InventoryChecking" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfInventoryChecking" nillable="true" type="tns:ArrayOfInventoryChecking" />
  <xs:complexType name="Category">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q7:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Appellation" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AssetEntry" nillable="true" type="tns:ArrayOfAssetEntry" />
          <xs:element minOccurs="0" name="AssetEntryAdditionalDefinition" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CategoryId" type="ser:guid" />
          <xs:element minOccurs="0" name="Children" nillable="true" type="tns:ArrayOfCategory" />
          <xs:element minOccurs="0" name="Parent" nillable="true" type="tns:Category" />
          <xs:element minOccurs="0" name="ParentReference" nillable="true" type="q7:EntityReferenceOfCategoryA_Ps5pNDo" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Category" nillable="true" type="tns:Category" />
  <xs:complexType name="ArrayOfCategory">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Category" nillable="true" type="tns:Category" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCategory" nillable="true" type="tns:ArrayOfCategory" />
  <xs:complexType name="Currency">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q8="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q8:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Appellation" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AssetEntry" nillable="true" type="tns:ArrayOfAssetEntry" />
          <xs:element minOccurs="0" name="CurrencyId" type="ser:guid" />
          <xs:element minOccurs="0" name="Symbol" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SymbolFormat" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Currency" nillable="true" type="tns:Currency" />
</xs:schema>